<h1>Editing rmodel</h1>

<%= error_messages_for :rmodel %>

<% form_for(:rmodel, :url => rmodel_path(@rmodel), :html => { :method => :put }) do |f| %>
  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', rmodel_path(@rmodel) %> |
<%= link_to 'Back', rmodels_path %>